package com.fjut.zr.judge_system.POJO.VO;

public class OJSubmitinfo {
    private int id;
    //我方测评id
    private String rid;
    //测评机编号
    private int ojudgeId;
    //提交目标OJ所对应的题号
    private String pid;
    //编程语言 默认
    // 0是G++
    // 1是GCC
    // 2是Java
    // 3是Pascal
    // 4是C++
    // 5是c
    private String code;
    private int time;
    private int memory;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getRid() {
        return rid;
    }

    public void setRid(String rid) {
        this.rid = rid;
    }

    public int getOjudgeId() {
        return ojudgeId;
    }

    public void setOjudgeId(int ojudgeId) {
        this.ojudgeId = ojudgeId;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public int getTime() {
        return time;
    }

    public void setTime(int time) {
        this.time = time;
    }

    public int getMemory() {
        return memory;
    }

    public void setMemory(int memory) {
        this.memory = memory;
    }

    public OJSubmitinfo(String rid, int ojudgeId, String pid, String code, int time, int memory) {
        this.rid = rid;
        this.ojudgeId = ojudgeId;
        this.pid = pid;
        this.code = code;
        this.time = time;
        this.memory = memory;
    }
}
